package com.yunhe.day322.dao;

import com.yunhe.day322.domain.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderDao {
    List<Orders> findAll();

    void updateById(String id);

    Orders findById(String id);

    void save(Orders orders);

    String findByOrderNum(String orderNum);

    void deleteOrdersById(String id);

    void edit( Orders orders);
}
